=== DataRights for WooCommerce ===
Contributors: pablomillaquen
Tags: privacy, woocommerce, data-protection, compliance, chile
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Requires Plugins: woocommerce
Stable tag: 1.2.8
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Privacy assessment & guidance for WooCommerce stores under Chilean Law 21.719.

== Description ==

DataRights for WooCommerce helps you understand which privacy aspects you should review in your WooCommerce store and which ones to tackle first, under Chilean Law 21.719 (in force from December 1, 2026).

**What it does**

* Store profile with 9 minimal questions
* Normative catalog: 9 obligations and 29 controls derived from the law, with article references
* Applicability engine: what applies to YOUR store, with clear reasons
* Evaluation per control with provenance (declared by admin / technically detected)
* Honest diagnosis: priorities and items needing confirmation — no fake "compliance" percentages
* Environment evidence (optional technical observations you choose to adopt)
* Printable report + CSV export

**What it is NOT**

Not a legal-compliance certificate and not legal advice. It does not implement or automate controls; it assesses and guides.

**Privacy of this plugin**

DataRights runs locally on your WordPress install. It sends nothing to external servers, uses no tracking, and removes its own data on uninstall.

== Installation ==

1. Upload the plugin folder to /wp-content/plugins/ or install from Plugins → Add New.
2. Activate the plugin (requires WooCommerce).
3. Open the DataRights menu — an initial diagnosis is available immediately.

== Frequently Asked Questions ==

= Does this plugin make my store legally compliant? =

No. It assesses and guides you on what to review. Compliance depends on decisions made by the data controller.

= Where is my data stored? =

Locally, in your WordPress database (options). Nothing leaves your site.

= Can I use it without answering the profile? =

Yes. An initial diagnosis is available right away.

== Screenshots ==

1. DataRights dashboard — privacy overview of your WooCommerce store, with environment evidence and evaluation status.
2. Evaluate each control with plain-language guidance: what it means, why it matters, what to review, and when to mark it covered.
3. Guide — what DataRights is and is not, and why some items wait for the Data Protection Agency's definitions (Art. 11).
4. Compliance Profile — describe your store's data-handling characteristics so only the applicable obligations are assessed.
5. Standalone report — a printable summary of what was evaluated, declared, and detected, with priorities.

== Changelog ==

= 1.2.8 =
* Admin interface: report stylesheet is no longer enqueued on the plugin admin screens. The report CSS (which is meant for the standalone downloadable document) was leaking global selectors onto the admin layout, constraining and centering the plugin pages. The downloaded report still embeds its CSS and remains fully standalone/offline.
* Admin interface: fixed plugin pages being constrained to a narrow centered column; they now use the full admin width.

= 1.2.7 =
* Standalone report CSS is now printed directly by `wp_print_styles()` at the point of output, without capturing it in an intermediate variable or re-echoing it. The CSS is still registered, enqueued, and attached through the official WordPress styles API, and the downloaded report remains fully standalone/offline.

= 1.2.6 =
* Report CSS now generated through the WordPress styles API (wp_register_style + wp_enqueue_style + wp_add_inline_style + wp_print_styles) instead of a direct inline <style>, while keeping the downloadable report fully standalone/offline.
* Existing WordPress admin CSS continues to load via wp_enqueue_style.

= 1.2.5 =
* Removed all remaining inline `style=""` attributes from the report generator and admin interface, replacing them with semantic CSS classes.
* Report HTML embeds its CSS inline so the downloadable report works fully standalone/offline (wp_enqueue is not applicable for downloaded files).
* All WordPress admin interface CSS continues to load via wp_enqueue_style, scoped to the plugin screens.

= 1.2.4 =
* Report CSS now properly enqueued via wp_enqueue_style (WordPress.org requirement).
* Report HTML references CSS via <link> instead of inline <style>.

= 1.2.3 =
* Text domain aligned to plugin slug (WordPress.org requirement).
* Main plugin file renamed to match slug.
* Report CSS extracted to separate file.
* WordPress.org directory assets removed from plugin zip.

= 1.2.2 =
* Admin menu label and page title updated to the new DataRights branding.
* Consistent wording in upgrade notes.

= 1.2.1 =
* Public rebranding to **DataRights for WooCommerce** (previously known as WooPrivacy FREE). Same features, same local-only privacy guarantees.

= 1.2.0 =
* Downloadable report now uses the same human language as the dashboard.
* CSV includes updated human titles.

= 1.1.0 =
* Human-readable guidance for all 29 controls.
* Detection capability labels and profile recalculation messaging.

= 1.0.0 =
* Initial public release.

== Upgrade Notice ==

= 1.2.0 =
Report now speaks the same plain language as your dashboard.
